//
//  TSMsgContentItemCell.h
//  chart
//
//  Created by xu on 15/7/31.
//  Copyright (c) 2015年 xu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TSToolBarTextField.h"

#define CELL_HEIGHT 50.f

typedef NS_ENUM(NSInteger, Text_Field_InputView_Type){
    UITextFieldDefault = 0,
    UITextFieldDate,
    UITextFieldArray
};


typedef NS_ENUM(NSInteger, ToolBarTextField_Type) {
    ToolBarTextField_Type_Recipient = 0,
    ToolBarTextField_Type_Audit,
    ToolBarTextField_Type_Section,
    ToolBarTextField_Type_Content,
    ToolBarTextField_Type_Receive,
    ToolBarTextField_Type_Supervise,
    ToolBarTextField_Type_AddSupervise
};


@interface TSMsgContentItemCell : UITableViewCell

@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) TSToolBarTextField *contentTextField;
@property (nonatomic, assign) NSInteger toolBarTextFieldType;

@property (nonatomic, assign) BOOL notShowKeyboard;


- (void)setTitleAndTextField:(NSString *)title Type:(Text_Field_InputView_Type)type;

- (void)setTextFieldEditable:(BOOL)isEditable;

-(void)setTextFieldSection:(NSInteger)section;

-(UIButton *)replaceRightWithButton:(CGSize)size;
@end
